Systems and methods for providing time-and weight-based flexibly tolerant hardware ID

ABSTRACT

Systems and methods for implementing a hardware ID with time- and weight-based flexibility use a hardware ID (HWID) including identifying information about hardware components. When software is run, a current HWID is generated. When the current HWID is compared to a stored HWID to determine if the two HWIDs match, a time vector and a weight vector are used in the comparison. A running matching score is kept of matches. For each hardware component, the weight vector indicates the weight given to a correct match of the hashed value for the hardware component. For example, if the weight value for the hardware component is three and there is a match, then the running total is increased by three. For each hardware component, the time vector may indicate an expiration period after which a change in the component may be allowed. For example, if the expiration period for the component is one year, and one year has passed since activation, the running total may be increased even though the component&#39;s information in the verification HWID does not match the current component information.

FIELD OF THE INVENTION

The present invention is directed to systems and methods for providingidentifying information for a computer system and evaluating whether thecomputer system matches a saved version of identifying information. Moreparticularly, the present invention relates to systems and methods forproviding a hardware ID for a computer system based on identifyinginformation from the computer system that is flexible and tolerant tonormal changes that occur while using the computer system.

BACKGROUND OF THE INVENTION

Use of software is often governed by a software license. Becausesoftware can be easily copied after being sold, uses of software withoutan associated license is difficult to prevent. Such uses include piracy,where the software is illicitly replicated and pirated copies areinstalled for use on non-licensed computer systems. Additionally, apurchaser of a non-pirated copy might improperly use software outside ofthe scope of the associated license. For example, a user may install thesoftware on more computer systems than are allowed under the license.

While licenses provide a legal avenue for recourse against suchpractices, they can be difficult to enforce in practice. Accordingly,there is a need for other means to reduce the amount of use of softwareoutside of license terms. One such method is based on creating anidentifier for the computer system of a user who has been licensed touse software. U.S. Pat. No. 6,243,468 entitled “Software Anti-PiracySystem That Adapts to Hardware Upgrades” and published U.S. PatentApplication Number 20010044782 detail this method.

Computer systems typically include various pieces of hardware, includingdisk drives, CDROM drives, and processors. These hardware componentseach have identifiers (serial numbers or names) that can be accessed bythe system, for example by executing a plug-and-play (PnP) call. Thesecomponent identifiers can be combined in a pre-determined manner tocreate a hardware identifier (HWID), which may be used to identify aparticular computer system.

Significantly, the HWID may be employed as part of or in combinationwith a software license to ensure that software that was licensed foruse on a specific computer system is used only on that computer system.In particular, software with a license specifying a HWID will only runon a computer system if, at runtime, the HWID computed for the computersystem matches the HWID specified in the software license.

However, when the user of a computer system adds, subtracts, orexchanges components of the system, for example, for repair or upgradepurposes, the HWID changes. Each new or exchanged component will have anew component identifier. Thus, when the HWID for the system iscomputed, a new component identifier will cause the HWID to change. Thiscauses problems when the user has received a license for software thatspecifies the HWID for a prior version of their computer system.

Accordingly, it is known to accept a stored HWID as a substantial matchwhen compared to a newly calculated HWID and allow the user to run thesoftware. For example, the abovementioned U.S. Pat. No. 6,243,468discloses an instance in which five component identifiers are includedin the HWID, and if any four of them are found to match, the softwareproduct is enabled to operate on the computer system.

Not addressed in the prior art is the fact that certain components maybe exchanged more frequently than others. Also not addressed is theutility of having less stringent computer-system matching requirementsfor the license as time elapses, since the value of the software maydecrease as time progresses. A HWID-based licensing system thataddresses these facts would provide increased security and allow fordynamic security over time.

In view of the aforementioned situation, there is a need for a systemthat allows a HWID to be used for identifying and linking a licensedinstantiation of software to one computer system, while toleratingchanges in the computer system of a legitimate user with the flexibilityrequired to accommodate hardware system changes and adapt to the passageof time.

SUMMARY OF THE INVENTION

In view of the foregoing, the present invention provides systems andmethods for providing a HWID that will remain valid even if the systemconfiguration is changed.

In one embodiment, when software is activated, the HWID of the system iscalculated. Product activation code in the software or elsewhere in thesystem queries existing hardware components to obtain informationregarding those components. For example, the network card may be queriedto determine the MAC (media access control) address. The informationregarding hardware components of each hardware component type is hashed.The hashed values are concatenated into a HWID.

The HWID calculated at activation is included in a license data file.Also included with the activation HWID are a time and a weight vector,containing a time and weight value for each hardware component. Athreshold score is also included in the license data file. This licensedata file must be evaluated each time the software is used. When thelicense requires verification of the computer system, the HWID of thesystem is reevaluated and the newly calculated HWID is compared to theactivation HWID.

When the newly calculated HWID is compared to the activation HWID todetermine if the two HWIDs match, a time vector and a weight vector areused in the comparison. The time vector value for a component determineswhether the component will be considered in determining if the newlycalculated HWID substantially matches the activation HWID. The weightvector value for a component determines what weight a match for thatcomponent will be given in determining if the newly calculated HWIDsubstantially matches the activation HWID.

Other features and embodiments of the present invention are describedbelow.

BRIEF DESCRIPTION OF THE DRAWINGS

The system and methods for providing forward mapping with averaging andvisibility in accordance with the present invention are furtherdescribed with reference to the accompanying drawings in which:

FIG. 1 is a block diagram representing an exemplary non-limitingcomputing system in which the present invention may be implemented;

FIG. 2 is a block diagram representing license data in one embodiment ofthe invention;

FIG. 3 is a block diagram representing a method of comparing each storedcomponent identity with a current component identity, using a weightvector; and

FIG. 4 is a block diagram representing a method of comparing each storedcomponent identity with a current component identity, using a timevector.

DETAILED DESCRIPTION OF THE INVENTION

Overview

In one embodiment, a current hardware ID (HWID) is calculated. For eachcomponent type from among a set of component types to be considered,components of that type are queried. In one embodiment, each result ishashed. The resulting values comprise the current HWID.

In one embodiment, a license file associated with software stores anactivation HWID, a time vector, a weight vector, and a threshold score.In order to allow the use of the software, the current HWID for thecomputer system must substantially match the activation HWID. The timevector, the weight vector, and the threshold score are used indetermining whether a substantial match occurs.

In order to determine whether the current HWID substantially matches theactivation HWID, for each component type, each stored hashed value forcomponents of that type is compared to a hashed value for each currentcomponent of that type. In one embodiment, a matching score iscalculated for the overall comparison. Any match indicates that acomponent that existed in the system at the time the stored HWID wascalculated still exists in the system. When such a match is found, thematching score for the comparison is incremented. If the matching scoreis greater than or equal to the threshold score, the current HWIDsubstantially matches the activation HWID.

For each component type, the weight vector indicates the weight that amatch of that component type should be accorded. When the matching scoreis incremented due to a match for a component type, the matching scoreis incremented by the weight value for that component type.

A time vector is also associated with the stored HWID. For eachcomponent type, the time vector may indicate an expiration period. Afterthe expiration period has elapsed, even if no match is found for acomponent, the matching score is incremented by the weight value. Inthis way, a HWID system is provided which can give different weights todifferent components and which is increasingly flexibly tolerant ofhardware changes in a computer system. In an alternate embodiment, onlythe time vector is used. In another alternate embodiment, only theweight vector is used.

Exemplary Computing Device

FIG. 1 and the following discussion are intended to provide a briefgeneral description of a suitable computing environment in which theinvention may be implemented. It should be understood, however, thathandheld, portable and other computing devices and computing objects ofall kinds are contemplated for use in connection with the presentinvention, as described above. Thus, while a general purpose computer isdescribed below, this is but one example, and the present invention maybe implemented with other computing devices, such as a thin clienthaving network/bus interoperability and interaction. Thus, the presentinvention may be implemented in an environment of networked hostedservices in which very little or minimal client resources areimplicated, e.g., a networked environment in which the client deviceserves merely as an interface to the network/bus, such as an objectplaced in an appliance, or other computing devices and objects as well.In essence, anywhere that data may be stored or from which data may beretrieved is a desirable, or suitable, environment for operationaccording to the invention.

Although not required, the invention can be implemented via an operatingsystem, for use by a developer of services for a device or object,and/or included within application software that operates according tothe invention. Software may be described in the general context ofcomputer-executable instructions, such as program modules, beingexecuted by one or more computers, such as client workstations, serversor other devices. Generally, program modules include routines, programs,objects, components, data structures and the like that performparticular tasks or implement particular abstract data types. Typically,the functionality of the program modules may be combined or distributedas desired in various embodiments. Moreover, those skilled in the artwill appreciate that the invention may be practiced with other computerconfigurations. Other well known computing systems, environments, and/orconfigurations that may be suitable for use with the invention include,but are not limited to, personal computers (PCs), automated tellermachines, server computers, hand-held or laptop devices, multi-processorsystems, microprocessor-based systems, programmable consumerelectronics, network PCs, appliances, lights, environmental controlelements, minicomputers, mainframe computers and the like. The inventionmay also be practiced in distributed computing environments where tasksare performed by remote processing devices that are linked through acommunications network/bus or other data transmission medium. In adistributed computing environment, program modules may be located inboth local and remote computer storage media including memory storagedevices, and client nodes may in turn behave as server nodes.

FIG. 1 thus illustrates an example of a suitable computing systemenvironment 100 in which the invention may be implemented, although asmade clear above, the computing system environment 100 is only oneexample of a suitable computing environment and is not intended tosuggest any limitation as to the scope of use or functionality of theinvention. Neither should the computing environment 100 be interpretedas having any dependency or requirement relating to any one orcombination of components illustrated in the exemplary operatingenvironment 100.

With reference to FIG. 1, an exemplary system for implementing theinvention includes a general purpose computing device in the form of acomputer system 110. Components of computer system 110 may include, butare not limited to, a processing unit 120, a system memory 130, and asystem bus 121 that couples various system components including thesystem memory to the processing unit 120. The system bus 121 may be anyof several types of bus structures including a memory bus or memorycontroller, a peripheral bus, and a local bus using any of a variety ofbus architectures. By way of example, and not limitation, sucharchitectures include Industry Standard Architecture (ISA) bus, MicroChannel Architecture (MCA) bus, Enhanced ISA (EISA) bus, VideoElectronics Standards Association (VESA) local bus, and PeripheralComponent Interconnect (PCI) bus (also known as Mezzanine bus).

Computer system 110 typically includes a variety of computer readablemedia. Computer readable media can be any available media that can beaccessed by computer system 110 and includes both volatile andnonvolatile media, removable and non-removable media. By way of example,and not limitation, computer readable media may comprise computerstorage media and communication media. Computer storage media includesvolatile and nonvolatile, removable and non-removable media implementedin any method or technology for storage of information such as computerreadable instructions, data structures, program modules or other data.Computer storage media includes, but is not limited to, Random AccessMemory (RAM), Read Only Memory (ROM), Electrically Erasable ProgrammableRead Only Memory (EEPROM), flash memory or other memory technology,Compact Disk Read Only Memory (CDROM), digital versatile disks (DVD) orother optical disk storage, magnetic cassettes, magnetic tape, magneticdisk storage or other magnetic storage devices, or any other mediumwhich can be used to store the desired information and which canaccessed by computer system 110. Communication media typically embodiescomputer readable instructions, data structures, program modules orother data in a modulated data signal such as a carrier wave or othertransport mechanism and includes any information delivery media. Theterm “modulated data signal” means a signal that has one or more of itscharacteristics set or changed in such a manner as to encode informationin the signal. By way of example, and not limitation, communicationmedia includes wired media such as a wired network or direct-wiredconnection, and wireless media such as acoustic, RF, infrared and otherwireless media. Combinations of any of the above should also be includedwithin the scope of computer readable media.

The system memory 130 includes computer storage media in the form ofvolatile and/or nonvolatile memory such as read only memory (ROM) 131and random access memory (RAM) 132. A basic input/output system 133(BIOS), containing the basic routines that help to transfer informationbetween elements within computer system 110, such as during start-up, istypically stored in ROM 131. RAM 132 typically contains data and/orprogram modules that are immediately accessible to and/or presentlybeing operated on by processing unit 120. By way of example, and notlimitation, FIG. 1 illustrates operating system 134, applicationprograms 135, other program modules 136, and program data 137.

The computer system 110 may also include other removable/non-removable,volatile/nonvolatile computer storage media. By way of example only,FIG. 1 illustrates a hard disk drive 141 that reads from or writes tonon-removable, nonvolatile magnetic media, a magnetic disk drive 151that reads from or writes to a removable, nonvolatile magnetic disk 152,and an optical disk drive 155 that reads from or writes to a removable,nonvolatile optical disk 156, such as a CD ROM or other optical media.Other removable/non-removable, volatile/nonvolatile computer storagemedia that can be used in the exemplary operating environment include,but are not limited to, magnetic tape cassettes, flash memory cards,digital versatile disks, digital video tape, solid state RAM, solidstate ROM, and the like. The hard disk drive 141 is typically connectedto the system bus 121 through an non-removable memory interface such asinterface 140, and magnetic disk drive 151 and optical disk drive 155are typically connected to the system bus 121 by a removable memoryinterface, such as interface 150.

The drives and their associated computer storage media discussed aboveand illustrated in FIG. 1 provide storage of computer readableinstructions, data structures, program modules and other data for thecomputer system 110. In FIG. 1, for example, hard disk drive 141 isillustrated as storing operating system 144, application programs 145,other program modules 146, and program data 147. Note that thesecomponents can either be the same as or different from operating system134, application programs 135, other program modules 136, and programdata 137. Operating system 144, application programs 145, other programmodules 146, and program data 147 are given different numbers here toillustrate that, at a minimum, they are different copies. A user mayenter commands and information into the computer system 110 throughinput devices such as a keyboard 162 and pointing device 161, commonlyreferred to as a mouse, trackball or touch pad. Other input devices (notshown) may include a microphone, joystick, game pad, satellite dish,scanner, or the like. These and other input devices are often connectedto the processing unit 120 through a user input interface 160 that iscoupled to the system bus 121, but may be connected by other interfaceand bus structures, such as a parallel port, game port or a universalserial bus (USB). A graphics interface 182, such as Northbridge, mayalso be connected to the system bus 121. Northbridge is a chipset thatcommunicates with the CPU, or host processing unit 120, and assumesresponsibility for accelerated graphics port (AGP) communications. Oneor more graphics processing units (GPUs) 184 may communicate withgraphics interface 182. In this regard, GPUs 184 generally includeon-chip memory storage, such as register storage and GPUs 184communicate with a video memory 186. GPUs 184, however, are but oneexample of a coprocessor and thus a variety of coprocessing devices maybe included in computer system 110. A monitor 191 or other type ofdisplay device is also connected to the system bus 121 via an interface,such as a video interface 190, which may in turn communicate with videomemory 186. In addition to monitor 191, computer systems may alsoinclude other peripheral output devices such as speakers 197 and printer196, which may be connected through an output peripheral interface 195.

The computer system 110 may operate in a networked or distributedenvironment using logical connections to one or more remote computers,such as a remote computer 180. The remote computer 180 may be a personalcomputer, a server, a router, a network PC, a peer device or othercommon network node, and typically includes many or all of the elementsdescribed above relative to the computer system 110, although only amemory storage device 181 has been illustrated in FIG. 1. The logicalconnections depicted in FIG. 1 include a local area network (LAN) 171and a wide area network (WAN) 173, but may also include othernetworks/buses. Such networking environments are commonplace in homes,offices, enterprise-wide computer networks, intranets and the Internet.

When used in a LAN networking environment, the computer system 110 isconnected to the LAN 171 through a network interface or adapter 170.When used in a WAN networking environment, the computer system 110typically includes a modem 172 or other means for establishingcommunications over the WAN 173, such as the Internet. The modem 172,which may be internal or external, may be connected to the system bus121 via the user input interface 160, or other appropriate mechanism. Ina networked environment, program modules depicted relative to thecomputer system 110, or portions thereof, may be stored in the remotememory storage device. By way of example, and not limitation, FIG. 1illustrates remote application programs 185 as residing on memory device181. It will be appreciated that the network connections shown areexemplary and other means of establishing a communications link betweenthe computers may be used.

Various distributed computing frameworks have been and are beingdeveloped in light of the convergence of personal computing and theInternet. Individuals and business users alike are provided with aseamlessly interoperable and Web-enabled interface for applications andcomputing devices, making computing activities increasingly Web browseror network-oriented.

For example, MICROSOFT®'s .NET platform includes servers, building-blockservices, such as Web-based data storage and downloadable devicesoftware. While exemplary embodiments herein are described in connectionwith software residing on a computing device, one or more portions ofthe invention may also be implemented via an operating system,application programming interface (API) or a “middle man” object betweenany of a coprocessor, a display device and requesting object, such thatoperation according to the invention may be performed by, supported inor accessed via all of .NET's languages and services, and in otherdistributed computing frameworks as well.

Licensing Transaction

A licensing transaction occurs at or after a time when a user purchasesa software product for running on a computer system 110. The softwareproduct, for example, may be a shrink-wrapped product having a softwareprogram stored on a transportable computer-readable medium, such as aDVD, CDROM, or floppy diskette. The software product may also bedelivered electronically over a network. The user loads the softwareproduct onto computer system 110. However, the software may not beoperable without license data. In order to receive this license data,the user must ‘activate’ the software by contacting an entity trusted bythe licensor of the software, such as a license clearinghouse. Thisclearinghouse, for example, is the product manufacturer or an authorizedthird party. The activation process allows the customer to activate thesoftware product for installation and use on a specific computer systemby providing the customer with the necessary license data.

Contact with the clearinghouse may be from computer system 110 over anetwork such as the Internet or via a dial-up connection to aclearinghouse computer, which, if activation is successful, will sendthe license data to the computer system 110. Alternatively, the softwareproduct supports an activation with a graphical user interface (UI)dialog window asking the user to call a service representative at theclearinghouse. The UI window lists information which the usercommunicates to the service representative, and includes an entry box toenter license information as obtained from the service representativewhich is used to create the license data to enable use of the software.

Providing Time- and Weight-Based Flexibly Tolerant Hardware ID

In one embodiment, a license file associated with software includes anactivation HWID, a time vector, a weight vector and a threshold score.When the license is to be checked, a current hardware ID (HWID) iscalculated. For each component type from among a set of component typesto be considered, components of that type are queried. Each result ishashed. The resulting values comprise the current HWID. In order toallow the use of the software, the current HWID for the computer systemmust substantially match the activation HWID. The time vector, theweight vector, and the threshold score are used in determining whether asubstantial match occurs.

In one embodiment, the license data 200 includes an activation HWID 210,a weight vector 220, a time vector 230, and a threshold score 240 asshown in FIG. 2. This information is used to determine at runtimewhether the HWID of the current system indicates that it is acceptableto allow the use of the software on the current system.

In one embodiment, with reference to FIG. 1, the component types used tocalculate a HWID are: the soundcard (located in the output peripheralinterface 195); the network card (located in network interface 170), theBIOS 133; the CDROM drive 155, the display adapter (comprising the GPU184); the disk device 151, the SCSI adapter, the disk adapter, theprocessor 120, and the RAM 132. Of course, other components may beemployed without departing from the spirit and scope of the presentinvention, and any combination of one or more of these components may beused.

When a HWID is calculated, plug and play (PnP) queries or other queriesare executed to determine the identifiers for these components. Some,such as the processor 120, may be identified by serial number. Others,such as the BIOS 133 may be identified by a portion of BIO 133, e.g. thefirst two kilobytes of the BIOS stored in ROM 131. The RAM 132, forexample, may be identified by the total storage capacity thereof.

As a further example, the network card may be identified by a MACaddress. The MAC (Media Access Control) address is a unique address thatidentifies the network card. On a local area network (LAN) or othernetwork, the MAC address is used as the computer system's uniquehardware number. When the computer system is connected to the Internet,this number is used to index the correct IP address for the computersystem. The MAC address of a network card is a unique number that isburnt into the network card by its manufacturer. Blocks of addresses areassigned to each network-card manufacturer, and they are hard-coded intothe chips on their network cards.

As shown, activation HWID 210 includes, for each component type, thenumber of components of that type that existed at activation. ActivationHWID 210 also includes a value for each component. In one embodiment,the hardware identifiers are hashed to produce a hashed value, which isincluded in the HWID. For example, as shown in FIG. 2, four CDROMs wereinstalled at the time of activation. In one embodiment, the hashed valuefor each component is stored in the HWID. For example, cdrom1, cdrom2,cdrom3, and cdrom4 are the hashed identifiers for the four CDROMs inexemplary activation HWID 210.

In one embodiment, the hash function used to hash the componentidentifiers is a modulus function. For example, the hashed value BIOS1representing the BIOS component in HWID 210 might be the first twokilobytes of the BIOS, modulo 8. Of course, any other hash function mayalso be employed without departing from the spirit and scope of thepresent invention.

In one embodiment, also included in license data 200 is a weight vector220 and a threshold score 240. When a newly calculated HWID is comparedto an activation HWID 210 so that the determination can be made whetherthe computer system will be allowed to run the software corresponding tothe license data 200, each component of a specific component typepresent in the system is queried. For each component present of aspecific component type, the query is hashed to create a hashedcomponent identifier. These hashed component identifiers are included inthe newly calculated HWID.

The activation HWID and the newly-calculated HWID are compared. Arunning matching score total is kept. For each component type, if any ofthese hashed values for a component of that type in the newly calculatedHWID matches any of the hashed values for that component type inactivation HWID 210, then the matching score is incremented. After thematching score is computed, if the matching score is greater than orequal to the threshold score, the current HWID substantially matches theactivation HWID. In another embodiment, the HWIDs must match exactly forthe matching score to be incremented. In another embodiment, eachcomponent of a given type present in the activation HWID must be presentin the newly calculated HWID for the matching score to be incrementedfor that component type. Other means for determining a match between theHWIDs for a component type are also contemplated, and may be employedwithout departing from the spirit and scope of the invention.

Weight vector 220 governs the amount of the increment. For example, amatching BIOS identifier will increment the matching score by three,whereas a matching CDROM identifier will only increment the matchingscore by one.

Additionally, in one embodiment, time vector 230 may be employed whencalculating the matching score. For any component, if time vector 230contains a value for that component, that is the expiration for the useof that component in comparing the two HWIDs. For example, in exemplarylicense data 200, as seen in FIG. 2, a time period is stored for somecomponents. In the exemplarly license data 200, two years is the storedtime period for the CDROM components. Thus, if two years have passedsince licensing, a mismatched value corresponding to the CDROMscurrently present on the computer system should not negatively affectthe matching score. Therefore the matching score will be incremented byone (the value in weight vector 220) regardless of whether a CDROM isfound on the computer system whose identifier matches the values storedin activation HWID 210 (viz. cdrom1, cdrom2, cdrom3, and cdrom4). Inanother embodiment, the matching score is incremented by a prespecifiedvalue (regardless of the weight vector 220 value) when the matchingscore is being incremented due to expiration rather than due to a match.

In order to allow expiration to occur, a license date may be included inlicense data 200. Alternatively, each time vector 230 value may beexpressed as a set date. Additionally, security measures may beimplemented to ensure that the resetting of a system clock does not foilthe date comparison. Where no valid data exists in time vector 230 for acomponent type (in one embodiment, when the value is set to zero) thecomponent is always used to determine the matching score. For example,time vector 230 indicates that only MAC, CDROM, and Display componentsexpire. Other components do not.

In one embodiment, only a weight vector but no time vector is includedin the license data. In this embodiment, in order to compare two HWIDs,each component is considered, and the matching score is incremented onlyif there is a match. As shown in FIG. 3, in step 310, the currentidentity information for each of the relevant components of the systemare obtained. In step 320, the current identity information is comparedto the stored component identity information from the activation HWID.If a hash function is used, the identity information is hashed andcompared to stored component identity information, which has also beenhashed. In step 330, when there is a match for a given component type, amatching score is incremented by the value in the weight vectorassociated with that component type. And in step 340, after allcomponents are considered, the matching score is compared to thethreshold matching score to determine whether the match was successful.This test can be used in a number of ways. For example, if thecomparison is being made to determine if a system is licensed to runsoftware, if the match is successful, the computer system is permittedto run the software.

In another embodiment, only a time vector, but no weight vector isincluded in the license data 200. In this embodiment, when a componentmatch is found, the same value is added to the matching score,regardless of component type being compared. However, if the time valuespecified for the component type has elapsed, even if no match is found,the matching score will be incremented. As shown in FIG. 4, in step 410,the components of the HWID, the current identity information for each ofthe relevant components of the system are obtained. In step 420, thecurrent identity information is compared to the stored componentidentity information from the activation HWID 210 In step 430, whenthere is a match for a given component type or where the expirationperiod has elapsed for that component type, the matching score isincremented. As before, in step 440, the matching score is compared tothe threshold matching score to determine whether the match wassuccessful.

In one embodiment, a matching score is included in the license data 200.In another embodiment, a matching score is hardcoded into thecomputation of whether a substantial match is present. Thus, licensedata 200 may include just a time vector, just a weight vector, or both atime and weight vector, and in any of these combinations may include amatching score or, alternatively, may rely on a matching scorehard-coded into the computation of whether a substantial match ispresent.

Using a time vector, a weight vector, or both, the license is no longerpassive data, but plays a role in license comparison data. The licensoror clearinghouse can have more control over the user experience. Forexample, the licensor may survey users and find that a significantpercentage of them will change video cards every two years. This maycause the licensor to set the time value for video cards in new licensesto two years. Later, it may be determined that new video cards will bearriving in the marketplace in six months, and that most users will bechanging their video card then. The licensor may set the time value tosix months in new licenses. It may be determined that there is a widevariance in when users change CDROM drives, but other time values arevery accurate in describing user behavior. This may cause the licensorto set the weight value for CDROM drives lower than the weight valuesfor other components.

In one embodiment, a weight vector is used to react to changes ininformation regarding a user. A user gets a first license for software.Then, for example, when an evaluation period has expired, the user getsa second license for software. The first activation HWID is compared tothe second activation HWID, and weight values for components areappropriately adjusted. In one such embodiment, the components that havebeen changed are given increased weight relative to components that havenot been changed. This reflects an assumption that a recently changedcomponent will not be changed again. In another such embodiment, thecomponents that have been changed are given decreased weight relative tocomponents that have not been changed. This reflects an assumption thatthe user is likely to be testing or changing components that the userhas historically changed.

CONCLUSION

As mentioned above, while exemplary embodiments of the present inventionhave been described in connection with various computing devices andnetwork architectures, the underlying concepts may be applied to anycomputing device or system in which it is desirable to implement ahardware ID. Thus, the methods and systems of the present invention maybe applied to a variety of applications and devices. For instance, thealgorithm(s) of the invention may be applied to the operating system ofa computing device, provided as a separate object on the device, as partof another object, as a downloadable object from a server, as a “middleman” between a device or object and the network, as a distributedobject, etc. While exemplary programming languages, names and examplesare chosen herein as representative of various choices, these languages,names and examples are not intended to be limiting. One of ordinaryskill in the art will appreciate that there are numerous ways ofproviding object code that achieves the same, similar or equivalentsystems and methods achieved by the invention.

The various techniques described herein may be implemented in connectionwith hardware or software or, where appropriate, with a combination ofboth. Thus, the methods and apparatus of the present invention, orcertain aspects or portions thereof, may take the form of program code(i.e., instructions) embodied in tangible media, such as floppydiskettes, CD-ROMs, hard drives, or any other machine-readable storagemedium, wherein, when the program code is loaded into and executed by amachine, such as a computer, the machine becomes an apparatus forpracticing the invention. In the case of program code execution onprogrammable computers, the computing device will generally include aprocessor, a storage medium readable by the processor (includingvolatile and non-volatile memory and/or storage elements), at least oneinput device, and at least one output device. One or more programs thatmay utilize the signal processing services of the present invention,e.g., through the use of a data processing API or the like, arepreferably implemented in a high level procedural or object orientedprogramming language to communicate with a computer. However, theprogram(s) can be implemented in assembly or machine language, ifdesired. In any case, the language may be a compiled or interpretedlanguage, and combined with hardware implementations.

The methods and apparatus of the present invention may also be practicedvia communications embodied in the form of program code that istransmitted over some transmission medium, such as over electricalwiring or cabling, through fiber optics, or via any other form oftransmission, wherein, when the program code is received and loaded intoand executed by a machine, such as an EPROM, a gate array, aprogrammable logic device (PLD), a client computer, a video recorder orthe like, or a receiving machine having the signal processingcapabilities as described in exemplary embodiments above becomes anapparatus for practicing the invention. When implemented on ageneral-purpose processor, the program code combines with the processorto provide a unique apparatus that operates to invoke the functionalityof the present invention. Additionally, any storage techniques used inconnection with the present invention may invariably be a combination ofhardware and software.

While the present invention has been described in connection with thepreferred embodiments of the various figures, it is to be understoodthat other similar embodiments may be used or modifications andadditions may be made to the described embodiment for performing thesame function of the present invention without deviating therefrom.Furthermore, it should be emphasized that a variety of computerplatforms, including handheld device operating systems and otherapplication specific operating systems are contemplated, especially asthe number of wireless networked devices continues to proliferate. Stillfurther, the present invention may be implemented in or across aplurality of processing chips or devices, and storage may similarly beeffected across a plurality of devices. Therefore, the present inventionshould not be limited to any single embodiment, but rather should beconstrued in breadth and scope in accordance with the appended claims.

1. A method for enabling enforcement of software licensing terms for asoftware product for use with a computer system comprising one or morecomponents, each component having a component identity obtainable fromthe computer system and identifying the component, and a component typefrom among a set of component types, the method comprising: retrievinglicense data corresponding to the licensing terms; for each componenttype from among said set of component types, obtaining an associatedcurrent component identity of a corresponding component from saidcomputer system; for each component type from among said set ofcomponent types, comparing said obtained associated current componentidentity to an associated stored component identity from the retrievedlicense data; calculating a matching score for each component type fromamong said set of component types, if the result of said comparison ispositive as a match, by incrementing the matching score by adding astored associated component type weight corresponding to each componenttype from among said set of component types from the retrieved licensedata to said matching score; comparing said matching score to athreshold matching score from the retrieved license data; and honoring aright granted by the licensing terms with respect to the softwareproduct if the matching score exceeds the threshold matching score. 2.The method of claim 1, where said step of, for each component type fromamong said set of component types, obtaining an associated currentcomponent identity comprises: obtaining an associated individual currentcomponent identity for every component of that component type.
 3. Themethod of claim 2, where for at least one component type from among saidset of hardware component types, said associated stored componentidentity comprises one or more associated individual stored componentidentities, and where said step of, for each hardware component typefrom among said set of hardware component types, comparing saidassociated existing component identity to an associated stored componentidentity comprises: returning a positive result if any of saidassociated individual stored component identities matches any of saidassociated individual current component identities.
 4. The method ofclaim 2, where for at least one component type from among said set ofhardware component types, said associated stored component identitycomprises one or more associated individual stored component identities,and where said step of, for each hardware component type from among saidset of hardware component types, comparing said associated existingcomponent identity to an associated stored component identity comprises:returning a positive result if all of said associated individual storedcomponent identities matches any of said associated individual currentcomponent identities.
 5. The method of claim 1, where said step of, foreach hardware component type from among a set of hardware componenttypes, obtaining an associated existing component identity comprises:querying a hardware component of the hardware component type for a queryresult; and hashing the query result.
 6. The method of claim 1, wheresaid step of calculating a matching score by, for each component typefrom among said set of component types, if the result of said comparisonis positive, incrementing a matching score by adding a stored associatedcomponent type weight comprises: for each component type, determining ifan associated expiration period has passed; and for each component type,if said expiration period has passed, adding said stored associatedcomponent type weight.
 7. The method of claim 1, where said step ofcalculating a matching score by, for each component type from among saidset of component types, adding a stored associated component type weightcomprises: for each component type, determining if an associatedexpiration period has passed; and for each component type, if saidexpiration period has passed, adding a prespecified expired-periodincrement.
 8. The method of claim 1, where said set of component typescomprises one or more selected from among the following: soundcard,network card, BIOS, CDROM drive, display adapter, disk device, SCSIadapter, disk adapter, processor, and RAM.
 9. A method for enablingenforcement of software licensing terms for a software product for usewith a computer system comprising one or more components, each componenthaving a component identity obtainable from the computer system andidentifying the component, and a component type from among a set ofcomponent types, the method comprising: retrieving license datacorresponding to the licensing terms; for each component type from amongsaid set of component types, obtaining an associated current componentidentity of a corresponding component from said computer system; foreach component type from among said set of component types, comparingsaid obtained associated current component identity to an associatedstored component identity from the retrieved license data; calculating amatching score for each component type from among said set of componenttypes, if the result of said comparison is positive as a match or if anassociated expiration period corresponding to at least one componenttype from among said set of component types from the retrieved licensedata has passed, by incrementing said matching score; comparing saidmatching score to a threshold matching score from the retrieved licensedata; and honoring a right granted by the licensing terms with respectto the software product if the matching score exceeds the thresholdmatching score.
 10. The method of claim 9, where said step of, for eachcomponent type from among said set of component types, obtaining anassociated current component identity comprises: obtaining an associatedindividual current component identity for every component of thatcomponent type.
 11. The method of claim 10, where for at least onecomponent type from among said set of hardware component types, saidassociated stored component identity comprises one or more associatedindividual stored component identities, and where said step of, for eachhardware component type from among said set of hardware component types,comparing said associated existing component identity to an associatedstored component identity comprises: returning a positive result if anyof said associated individual stored component identities matches any ofsaid associated individual current component identities.
 12. The methodof claim 10, where for at least one component type from among said setof hardware component types, said associated stored component identitycomprises one or more associated individual stored component identities,and where said step of, for each hardware component type from among saidset of hardware component types, comparing said associated existingcomponent identity to an associated stored component identity comprises:returning a positive result if all of said associated individual storedcomponent identities matches any of said associated individual currentcomponent identities.
 13. The method of claim 9, where said step of, foreach hardware component type from among a set of hardware componenttypes, obtaining an associated existing component identity comprises:querying a hardware component of the hardware component type for a queryresult; and hashing the query result.
 14. The method of claim 9, wheresaid set of component types comprises one or more selected from amongthe following: soundcard, network card, BIOS, CDROM drive, displayadapter, disk device, SCSI adapter, disk adapter, processor, and RAM.15. A computer-readable medium for enabling enforcement of softwarelicensing terms for a software product for use with a computer systemcomprising one or more components, each component having a componentidentity obtainable from the computer system and identifying thecomponent, and a component type from among a set of component types, themedium having stored thereon at least one computer-executable modulecomprising computer executable instructions for performing a method, themethod comprising: retrieving license data corresponding to thelicensing terms; for each component type from among said set ofcomponent types, obtaining an associated current component identity of acorresponding component from said computer system; for each componenttype from among said set of component types, comparing said obtainedassociated current component identity to an associated stored componentidentity from the retrieved license data; calculating a matching scorefor each component type from among said set of component types, if theresult of said comparison is positive as a match, by incrementing thematching score by adding a stored associated component type weightcorresponding to each component type from among said set of componenttypes from the retrieved license data to said matching score; comparingsaid matching score to a threshold matching score from the retrievedlicense data; and honoring a right granted by the licensing terms withrespect to the software product if the matching score exceeds thethreshold matching score.
 16. The computer-readable medium of claim 15,where said step of, for each component type from among said set ofcomponent types, obtaining an associated current component identitycomprises: obtaining an associated individual current component identityfor every component of that component type.
 17. The computer-readablemedium of claim 16, where for at least one component type from amongsaid set of hardware component types, said associated stored componentidentity comprises one or more associated individual stored componentidentities, and where said step of, for each hardware component typefrom among said set of hardware component types, comparing saidassociated existing component identity to an associated stored componentidentity comprises: returning a positive result if any of saidassociated individual stored component identities matches any of saidassociated individual current component identities.
 18. Thecomputer-readable medium of claim 16, where for at least one componenttype from among said set of hardware component types, said associatedstored component identity comprises one or more associated individualstored component identities, and where said step of, for each hardwarecomponent type from among said set of hardware component types,comparing said associated existing component identity to an associatedstored component identity comprises: returning a positive result if allof said associated individual stored component identities matches any ofsaid associated individual current component identities.
 19. Thecomputer-readable medium of claim 15, where said step of, for eachhardware component type from among a set of hardware component types,obtaining an associated existing component identity comprises: queryinga hardware component of the hardware component type for a query result;and hashing the query result.
 20. The computer-readable medium of claim15, where said step of calculating a matching score by, for eachcomponent type from among said set of component types, if the result ofsaid comparison is positive, incrementing a matching score by adding astored associated component type weight comprises: for each componenttype, determining if an associated expiration period has passed; and foreach component type, if said expiration period has passed, adding saidstored associated component type weight.
 21. The computer-readablemedium of claim 15, where said step of calculating a matching score by,for each component type from among said set of component types, if theresult of said comparison is positive, incrementing a matching score byadding a stored associated component type weight comprises: for eachcomponent type, determining if an associated expiration period haspassed; and for each component type, if said expiration period haspassed, adding a prespecified expired-period increment.
 22. Thecomputer-readable medium of claim 15, where said set of component typescomprises one or more selected from among the following: soundcard;network card, BIOS, CDROM drive, display adapter, disk device, SCSIadapter, disk adapter, processor, and RAM.
 23. A computer-readablemedium for enabling enforcement of software licensing terms for asoftware product for use with a computer system comprising one or morecomponents, each component having a component identity obtainable fromthe computer system and identifying the component, and a component typefrom among a set of component types, the medium having stored thereon atleast one computer-executable module comprising computer executableinstructions for performing a method, the method comprising: retrievinglicense data corresponding to the licensing terms; for each componenttype from among said set of component types, obtaining an associatedcurrent component identity of a corresponding component from saidcomputer system; for each component type from among said set ofcomponent types, comparing said obtained associated current componentidentity to an associated stored component identity from the retrievedlicense data; calculating a matching score for each component type fromamong said set of component types, if the result of said comparison ispositive as a match or if an associated expiration period correspondingto at least one component type from among said set of component typesfrom the retrieved license data has passed, by incrementing saidmatching score; comparing said matching score to a threshold matchingscore from the retrieved license data; and honoring a right granted bythe licensing terms with respect to the software product if the matchingscore exceeds the threshold matching score.
 24. The computer-readablemedium of claim 23, where said step of, for each component type fromamong said set of component types, obtaining an associated currentcomponent identity comprises: obtaining an associated individual currentcomponent identity for every component of that component type.
 25. Thecomputer-readable medium of claim 24, where for at least one componenttype from among said set of hardware component types, said associatedstored component identity comprises one or more associated individualstored component identities, and where said step of, for each hardwarecomponent type from among said set of hardware component types,comparing said associated existing component identity to an associatedstored component identity comprises: returning a positive result if anyof said associated individual stored component identities matches any ofsaid associated individual current component identities.
 26. Thecomputer-readable medium of claim 24, where for at least one componenttype from among said set of hardware component types, said associatedstored component identity comprises one or more associated individualstored component identities, and where said step of, for each hardwarecomponent type from among said set of hardware component types,comparing said associated existing component identity to an associatedstored component identity comprises: returning a positive result if allof said associated individual stored component identities matches any ofsaid associated individual current component identities.
 27. Thecomputer-readable medium of claim 23, where said step of, for eachhardware component type from among a set of hardware component types,obtaining an associated existing component identity comprises: queryinga hardware component of the hardware component type for a query result;and hashing the query result.
 28. The computer-readable medium of claim23, where said set of component types comprises one or more selectedfrom among the following: soundcard; network card, BIOS, CDROM drive,display adapter, disk device, SCSI adapter, disk adapter, processor, andRAM.